import java.util.Scanner;

public class P1010NOIP1998普及组幂次方{
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        f(a);
    }
    public static void f(int x){
        for(int i = 14; i>=0; i--){
            if(x >= Math.pow(2,i)){
                if(i == 0){
                    System.out.print("2(0)");
                }else if(i == 1){
                    System.out.print("2");
                }else if(i == 2){
                    System.out.print("2(2)");
                }
                else{
                    System.out.print("2(");
                    f(i);
                    System.out.print(")");
                }
                x -= Math.pow(2, i);
                if(x != 0){
                    System.out.print("+");
                }
            }
        }
    }
}
